package com.xgf.demo.service.remote;

import feign.Body;
import feign.Headers;
import feign.Param;
import feign.RequestLine;

public interface RemoteClassService {
//    @Headers({"Content-Type: application/json","Accept: application/json"})
//    @RequestLine("POST /users/list")
//    User getOwner(User user);
    @RequestLine("POST /send")
    @Body("sendMessage={sendMessage}")// post 提交
    Object sendOne(@Param(value = "sendMessage") String sendMessage);
}
